Infinitely large settings in programming
Many people may be set to 0x7fffffff, this number is indeed the maximum value of 32-bit int, the sign bit is 0, the others are 1
However, in many cases, 0X7FFFFFFF will be error, such as overflow , so that
Chapter III Basic Concepts
Everything in ECMAScript (variables, function names, and operators) is case-sensitive.
Identifiers are the names of variables, functions, attributes, or parameters of a function.
The constituent rules for
3.1 Syntax 3.1.1 Case sensitiveEverything in ECMAScript (variables, function names, and operators) is case-sensitive.3.1.2 IdentifierRefers to the name of a variable, function, property, or parameter of a function.Formatting rules:The first
1. Delete Deletes the definition of the object's properties and methods. forces a reference to it to be set to undefinedThe delete operator cannot delete properties and methods that are not defined by the developer.2,The void operator returns
Http://www.cnblogs.com/kingwolfofsky/archive/2011/07/21/2112299.html
floating point numbers
1. What are floating point numbers
In the process of computer system development, several methods have been proposed to express real numbers. Typically, for
The basic data types in Java are divided into four classes, integer types, floating-point types, character types, and Boolean types.1), the integer type contains a byte (a byte), short (two bytes), an int (four bytes), and a long (8 bytes).2),
JS implementation:1, the composition of JavaScript implementation:Core (ECMASCRIPT): defined by ECMA-262, providing core language functionalityThe Document Object Model (DOM) provides methods and interfaces for accessing and manipulating Web page
Directory
1. What is a floating point number?
2. IEEE floating point number
3. Transformation between a real number and a floating point number
4. Special values
4.1. Nan
4.2. Infinite
In the algorithmic race, we often need to use a "infinity" value, for me, most of the time I will be based on a specific question to take a 99999999 of the number (looks very unprofessional ah. )
When looking at other people's Code on the Internet,
In the algorithmic race, we often need to use a "infinity" value, for me, most of the time I will be based on a specific question to take a 99999999 of the number (looks very unprofessional ah. )
When looking at other people's Code on the Internet,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.